import { Link } from "react-router-dom";
import "./VideoCard.css";

export default function VideoCard({ videoId }) {
  return (
    <div className="VideoCard" data-testid="VideoCard">
      <Link to={`/videos/${videoId}`} state={{ videoId: videoId }}>
        Click here to get video{videoId}.
      </Link>
    </div>
  );
}
